<?php
session_start();
$ac='ww';
$ac = $_REQUEST['ac'] ;

switch ($ac)
{
	
	
	case 'xx':
	echo 'xxx';
	break;
	
	case 'getcargostatus':
		
		//var_dump($_SESSION);
		$valcode = trim($_REQUEST['valcode']);
		if($_SESSION["VAL_CODE"] != $valcode){
			echo '-9';
		}else{
			echo '0';
		}
		
		
	break;
}

?>